package com.lostreseditores.sabersai.model.control;

import java.util.List;

import com.lostreseditores.sabersai.model.Menu;
import com.lostreseditores.sabersai.model.dto.MenuDTO;


public interface IMenuLogic {
    public List<Menu> getMenu() throws Exception;

    public void saveMenu(Integer menuidn, String menuimagenv,
        String menunombrev, String menupaginav, Integer menuidn_Menu)
        throws Exception;

    public void deleteMenu(Integer menuidn) throws Exception;

    public void updateMenu(Integer menuidn, String menuimagenv,
        String menunombrev, String menupaginav, Integer menuidn_Menu)
        throws Exception;

    public Menu getMenu(Integer menuidn) throws Exception;

    public List<Menu> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Menu> findPageMenu(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberMenu() throws Exception;

    public List<MenuDTO> getDataMenu() throws Exception;
}
